<?php
session_start();
include("EncabezadoPie.php");

$msg = $_SESSION['MSG'];

?>

<!DOCTYPE html>
<html lang="es">
<head>
    <title><?php getTitle();?></title>    
    <link rel="shortcut icon" href="images/iconoTitulo.png" type="image/png">
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" media="screen" href="css/grid_12.css">
    <link rel="stylesheet" type="text/css" media="screen" href="css/style.css">
    <script src="js/jquery-1.9.1.js"></script>
    <script src="js/lemmon-slider.js"></script>
    <script>
        $(function(){
            $( '#slider1' ).lemmonSlider({
                'slideToLast' : true,
                'infinite' : true
            });

            setInterval( sliderAutoplay, 3000 );
        });
        function sliderAutoplay(){
            $( '#slider1' ).trigger( 'nextSlide' );

        }
    </script>
    <style>
        .slider    { overflow:hidden; position:relative; }
        .slider ul { margin:0; padding:0; }
        .slider li { float:left; margin:0 5px 0 0; list-style:none; }
        /* IE6 issues */
        .slider ul { width:100%; }
    </style>
    <!--[if lt IE 8]>
        <div style=' clear: both; text-align:center; position: relative;'>
            <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
                <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
            </a>
        </div>
    <![endif]-->
        <!--[if lt IE 9]>
        <script type="text/javascript" src="js/html5.js"></script>
        <link rel="stylesheet" type="text/css" media="screen" href="css/ie.css">
    <![endif]-->
</head>
<body>
    <?=imprimirEncabezado()?>
    <section id="content">

    	<div class="container_12">
            <div style="width: 650px; min-height: 400px; float: left">
                <p class="text-3">Sistema de administración</p>
 
                <div class="right-1">
                    <p>Bienvenido al sitio de administración del sistema bancario</p>
		</div>
            </div>
            <div style="width: 320px; min-height: 400px; float: right; padding-top: 50px">
                <span class="text-2">Iniciar sesion</span>
                <form class='contacto' action="Convenios.php" method="post">
                    <p class="campoRequerido">
                        <?php
                        if(strlen($msg) >0){
                            echo $msg;
                            unset($_SESSION['MSG']);
                        }
                        ?>
                    </p>
                    <label>Nombre de usuario: <span class="campoRequerido">*</span></label> 
                    <input type='text' name="username" value='' class="cajaTexto" style="width: 100%" />
                    <label>Contrase&ntilde;a: <span class="campoRequerido">*</span></label> 
                    <input type='password' name="password" value='' class="cajaTexto" style="width: 100%" />
                    <br>                                        
                    <br>                                        
                    <input type='submit' value='Ingresar' class="btnSbmt" style="width: 100%; margin: auto">
                    <!--<a class="link" style="float: right">Olvid&oacute; su contrase&ntilde;a</a>-->
                    <div class="clear"></div>
                </form>
            </div>
            <div class="clear"></div>
        </div>
    </section> 

  
    <?=imprimirPie()?>
  
</body>
</html>
